package com.crape.common.model;

/**
 * 收件箱类
 * 
 * @author ChenKai 2012-11-4 下午12:13:53
 */
public class MsgUser {

    private Long   id;             // ID
    private Long   sendid;         // 发件人accountId
    private Long   receiveid;      // 收件人accountId
    private String message;        // 消息内容
    private String createdate;     // 创建时间
    // ==============================================
    private Long   num;            // 消息数
    private String sendUserName;   // 发件人用户名
    private String receiveUserName; // 收件人用户名
	private Integer msgType; // 0=他人信件，1=我发的信，2=我收到的信

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getSendid() {
        return sendid;
    }

    public void setSendid(Long sendid) {
        this.sendid = sendid;
    }

    public Long getReceiveid() {
        return receiveid;
    }

    public void setReceiveid(Long receiveid) {
        this.receiveid = receiveid;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCreatedate() {
        return createdate;
    }

    public void setCreatedate(String createdate) {
        this.createdate = createdate;
    }

    public Long getNum() {
        return num;
    }

    public void setNum(Long num) {
        this.num = num;
    }

    public String getSendUserName() {
        return sendUserName;
    }

    public void setSendUserName(String sendUserName) {
        this.sendUserName = sendUserName;
    }

    public String getReceiveUserName() {
        return receiveUserName;
    }

    public void setReceiveUserName(String receiveUserName) {
        this.receiveUserName = receiveUserName;
    }

	public Integer getMsgType() {
		return msgType;
	}

	public void setMsgType(Integer msgType) {
		this.msgType = msgType;
	}

}
